package com.cm.biz;

import com.cm.dao.EmpDao;
import com.cm.pojo.Emp;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service("empBiz")
public class EmpBizImpl implements EmpBiz{
    @Autowired
    private EmpDao empDao;
    public List<Emp> getAllEmps() {
        return empDao.getAllEmps();
    }
}
